<table class="table table-striped table-condensed table-hover">
	<thead>
		<tr>
			<th style="width:30px">번호</th>
			<th>아이디</th>
			<th style="width:70px">이름</th>
			<th style="width:120px" class="hidden-phone hidden-tablet">연락처</th>
			<th style="width:100px" class="hidden-phone">가입일</th>
		</tr>
	</thead>
	<tbody>
<?php
$cnt = count($rows);
if ($cnt == 0) {
?>
		<tr class="blank">
			<td colspan="5">값이 없습니다.</td>
		</tr>
		
<?php
}
else {
	for ($i = 0; $i < count($rows); $i++) {
?>
		<tr data-href="<?php echo $href?>/<?php echo $kong->id ?>/<?php echo urlencode($rows[$i]['idx'])?>">
			<td><?php echo $rows[$i]['n']?></td>
			<td><?php echo $rows[$i]['id']?></td>
			<td><?php echo $rows[$i]['nick']?></td>
			<td class="hidden-phone hidden-tablet"><?php echo $rows[$i]['phone']?></td>
			<td class="hidden-phone"><?php echo date("Y/m/d", $rows[$i]['reg_date'])?></td>
		</tr>
<?php
	}
}
?>
	</tbody>
</table>

<div class="pagination pagination-centered"><?php echo $pagination ?></div>

<form method="get" class="form-inline" style="text-align:center;">
	<select name="search" style="width:100px">
		<option value="id">아이디</option>
		<option value="name">이름</option>
		<option value="phone">연락처</option>
		<option value="email">이메일</option>
	</select>
	<input type="text" name="keyword" class="input-small"/>
	<button type="submit" class="btn">검색</button>
</form>

<div class="text-right">
	<div class="btn-group">
		<button class="btn" data-href="<?php echo $href?>/<?php echo $kong->id ?>/new">새회원</button>
	</div>
</div>

